package com.ybkj.o2o.mc.mapper;

import com.ybkj.o2o.mc.entity.PassengerGradeAndArea;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PassengerGradeAndAreaMapper {

  int insert(PassengerGradeAndArea record);

  int updateByPrimaryKey(PassengerGradeAndArea record);

  int deleteByIdAndAppkey(@Param("id") Long id, @Param("appKey") String appKey);

  List<PassengerGradeAndArea> findByIdAndAppKey(@Param("gradeId") Long gradeId, @Param("appKey") String appKey);
}
